package com.lightsaber.trade.as.entity.category;

import java.util.LinkedHashMap;
import java.util.Map;

public enum SourceType {
    ManualInput("Manual Input"), SystemExtractable("System Extractable");

    private String label;

    private SourceType(final String label) {
        this.label = label;
    }

    public String getLabel() {
        return label;
    }

    public static Map<String, String> list() {
        Map<String, String> map = new LinkedHashMap<String, String>();

        map.put(ManualInput.name(), "Manual Input");
        map.put(SystemExtractable.name(), "System Extractable");

        return map;
    }
}
